package com.zenithsun.news.statistics.dao;

import java.util.HashMap;
import java.util.List;
import com.syzg.common.dao.BaseDAO;
import com.zenithsun.news.statistics.model.ColumnNewsPV;
import com.zenithsun.news.statistics.model.NewsPV;

public interface StatisticsDAO extends BaseDAO<NewsPV>{

	public List<HashMap<String, Object>> listColumnsNewsCounter() throws Exception;
	
	public List<HashMap<String, Object>> listColumnsNewsPVCounter() throws Exception;
	
	public List<HashMap<String, Object>> listNewsDailyPVCounter() throws Exception;
	
	public List<HashMap<String, Object>> listNewsMonthPVCounter() throws Exception;
	
	public List<HashMap<String, Object>> findPVCounter() throws Exception;
	
	public List<HashMap<String, Object>> findNewsPV(NewsPV pv) throws Exception;
	
	public List<HashMap<String, Object>> findNewsPVTotal(NewsPV pv) throws Exception;
	
	public boolean saveNewsPV(NewsPV pv) throws Exception;
	
	public List<HashMap<String, Object>> findColumnPVCounter() throws Exception;
	
	public boolean saveColumnNewsPV(ColumnNewsPV pv) throws Exception;
	
	public List<HashMap<String, Object>> findNewsPVTotalByColumnId(ColumnNewsPV pv) throws Exception;
	
	public List<HashMap<String, Object>> findPVTotalGroupColumnId() throws Exception;

}
